//
//  QueryView.swift
//  MakeMoney
//
//  Created by Fan ZhiQiang on 2024/12/17.
//

import SwiftUI

struct QueryView: View {
    let yearIdMin: Int
    let yearIdMax: Int
    let first: Int
    let second: Int
    let third: Int
    let forth: Int
    let fifth: Int
    let useBall: Int
    
    var body: some View {
        Text("Hello, World!")
    }
    
    init(yearIdMin: Int, yearIdMax: Int, first: Int, second: Int, third: Int, forth: Int, fifth: Int, useBall: Int) {
        self.yearIdMin = yearIdMin
        self.yearIdMax = yearIdMax
        self.first = first
        self.second = second
        self.third = third
        self.forth = forth
        self.fifth = fifth
        self.useBall = useBall
    }
}

#Preview {
    QueryView(yearIdMin: 2023, yearIdMax: 2024, first: 0, second: 0, third: 0, forth: 0, fifth: 0, useBall: 0)
}
